package com.example.client.hospital;

import com.example.common.util.core.resultbody.AjaxResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Author juzipi
 * @Date 2021/7/12 17:17
 * @Info
 */
@FeignClient(name = "service-hospital", contextId = "t2")
public interface HospitalFeignClient {

    //根据排班id获取预约下单数据
    @GetMapping("api/hospital/hospital/inner/get/scheduleOrderVo/{scheduleId}")
    public AjaxResult getScheduleOrderVo(@PathVariable("scheduleId") String scheduleId);


    //获取医院签名信息
    @GetMapping("api/hospital/hospital/inner/get/sign/{hoscode}")
    public AjaxResult getHospitalSignByHoscode(@PathVariable("hoscode") String hoscode);


}
